﻿using Farming.Domain;
using Farming.Repositories;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore.Migrations;

namespace Farming.WebApi.Controllers
{
    [Route("api/[controller]")]
    [ApiController]
    public class ValuesController : ControllerBase
    {
        public ValuesController(IRepository<Admin> repo)
        {
            IPerson person = new Person();
        }
    }

    /// <summary>
    /// 这是一个类
    /// </summary>
    public class Person: IPerson
    {
        public void Run()
        {

        }
    }

    public interface IPerson {
        void Run();
    }

}
